package com.vids.model.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;

/**
 * <p>
 *  图片和业务对于关系
 * </p>
 *
 */
@TableName("t_image_business")
public class ImageBusiness extends Model<ImageBusiness> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 图片标识
     */
    @TableField("image_id")
    private String imageId;
    /**
     * 业务标识
     */
    @TableField("yw_id")
    private String ywId;


    @TableField("image_type")
    private String imageType;

    @TableField("big_type")
    private String bigType;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    public String getBigType() {
        return bigType;
    }

    public void setBigType(String bigType) {
        this.bigType = bigType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getYwId() {
        return ywId;
    }

    public void setYwId(String ywId) {
        this.ywId = ywId;
    }

    public String getImageType() {
        return imageType;
    }

    public void setImageType(String imageType) {
        this.imageType = imageType;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TBigDataImageBusiness{" +
        ", id=" + id +
        ", imageId=" + imageId +
        ", ywId=" + ywId +
        ", imageType=" + imageType +
        ", sort=" + sort +
        "}";
    }
}
